﻿package com.wb.fw;

import com.wiyun.engine.nodes.Director;
import com.wiyun.engine.types.WYSize;

import android.app.Activity;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.os.Message;

public class Global implements IConstants{

	public static boolean sIsFromGameOver;
	public static boolean sIsFromMainMenu;
	public static boolean sHasNew;
	public static boolean sIsShowNew = true;
	public static int sFrameCount = 0;

	public static float sScaleRate = 1.0f;

	public static float sStartX = 0f;
	public static float sStartY = 0f;
	public static float sEndX = 0f;
	public static float sEndY = 0f;

	public static int half_w, half_h;
	
	public static WYSize sWYSize;

	public static float sSWRelativeSameSHScaleRate = 1.0f;

	public static int sCurBackgroundMusicId = -1;
	public static int sCurBackgroundMusicFormat = -1;
	public static int sCurBackgroundMusicRepeat = -1;

	public static boolean sGameRun;
	public static boolean sGameMusicStop;
	public static boolean sGameResume;
	public static boolean sGamePause;

	public static boolean sGameOver;
	public static boolean sGameOverResume;
	public static boolean sGameFirstToMM;

	public static boolean sIsFirstRun;

	public static boolean sIsMute = false;

	public static SharedPreferences sPrefs;
	public static Editor sEdit;


}
